package io.renren.modules.bmx.service.impl;

import cn.hutool.core.map.MapUtil;
import io.renren.common.utils.MapUtils;
import io.renren.modules.bmx.dao.SubjectDao;
import io.renren.modules.bmx.vo.SubjectVo;
import io.renren.modules.bmx.vo.TemporarySubjectVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.bmx.dao.TemporaryDao;
import io.renren.modules.bmx.entity.TemporaryEntity;
import io.renren.modules.bmx.service.TemporaryService;


@Service("temporaryService")
public class TemporaryServiceImpl extends ServiceImpl<TemporaryDao, TemporaryEntity> implements TemporaryService {



    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TemporaryEntity> page = this.page(
                new Query<TemporaryEntity>().getPage(params),
                new QueryWrapper<TemporaryEntity>()
        );

        return new PageUtils(page);
    }




}
